package com.you.simple.demo.api.entity;

import com.you.api.common.util.ApiModelProperty;

import java.util.Date;

/**
 * @Description 用户实体类
 * @Author yough
 * @Version V1.0.0
 * @Since 1.0
 * @Date 2021/1/7
 */
public class UserInfo {

    @ApiModelProperty(value = "用户ID", required = true)
    private String userId;
    @ApiModelProperty(value = "年龄")
    private int age;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "生日")
    private Date birthDay;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(Date birthDay) {
        this.birthDay = birthDay;
    }
}
